//npm install vm2@3.9.3 --save
const vm = require("vm2")

var {VM,VMScript} = vm

var myvm = new VM()

//res1 = myvm.run("process")
res2 = myvm.run("1+1")
console.log(res2)